# 安装模块
rmmod 2_chardev_type_int.ko;insmod 2_chardev_type_int.ko

# 写字符设备
# echo -n '100' > /dev/chardev  # --> echo 默认发送字符串

# 读字符设备
head -c 4 /dev/chardev
